let net = require("net");

let socket = net.connect({port:8601},()=>{
    console.log('连接到服务器！');
});

socket.on("data",(data)=>{
    console.log(data.toString());
    socket.end();
})
